package com.xiao.tripmateai.tools;

import com.xiao.tripmateai.service.TimeService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 集中的工具注册类，这里都是自己编写的工具
 */
@Configuration
public class ToolRegistration {

    @Bean
    public FileOperationTool fileOperationTool() {
        return new FileOperationTool();
    }
    @Bean
    public TimeService timeService() {
        return new TimeService();
    }

    @Bean
    public ResourceDownloadTool resourceDownloadTool() {
        return new ResourceDownloadTool();
    }

    @Bean
    public PDFGenerationTool pdfGenerationTool() {
        return new PDFGenerationTool();
    }

    @Bean
    public TerminateTool terminateTool() {
        return new TerminateTool();
    }
}